package com.ruoyi.standingbook.v2toilet.mapper;

import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.standingbook.v2toilet.MapBean;
import com.ruoyi.standingbook.v2toilet.domain.V2Toilet;
import com.ruoyi.standingbook.v2toilet.domain.vo.V2ToiletVo;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * V2市政公厕管养Mapper接口
 *
 * @author cc
 * @date 2023-06-07
 */
public interface V2ToiletMapper extends BaseMapperPlus<V2ToiletMapper, V2Toilet, V2ToiletVo> {
    /**
     * 查询已经改变过巡检项的公厕ID
     *
     * @param map 包含管养日
     * @return ID
     */
    List<String> listChanged(Map<String, Object> map);

    int realDelByIds(Collection<String> ids);

    /**
     * 下拉选项（社区和公厕查询条件）
     *
     * @return value
     */
    List<MapBean<String>> selectCondition();
}
